/*
 * Color Dance
 * Written my Stephen Ostermiller (gforce@ostermiller.com)
 * (Check out the mp3 software I have written at
 * www.ostermiller.com)
 *
 * Interesting because the foreground and background colors change at
 * different rates.  This map is very much like Muted Middle except
 * this the foreground and the background are no longer inverse colors
 * because the foreground changes at a different rate from the background.
 */

/*
 * ******    HUE     ******
 *
 * Assign each intensity to a different color.
 * Colors change with time.
 *
 * The 7 is the time scaling factor for the
 * foreground.  (BiggerValue = Change Slower).
 * The foreground will always change more quickly than
 * the background because the base color of the 
 * foreground changes with the background.
 * 
 *
 * The 64 is the time scaling factor for the background.
 * Changing this value effects how fast the colors 
 * of bothe the foreground and the background change
 * in time. (Bigger Value = Change Slower)
 * The foreground will end up changing much faster
 * because it has an addition change added on to it.
 * Right now I have it changing rather slowly.
 * This way, everytime it loads this color map,
 * it will probably look like a new color map because
 * the time is enough different from the last time.
 */
H="wrap((sin(t/7) * i) + (t/64))",

/*
 * ****** SATURATION ******
 * ******   VALUE    ******
 *
 * Saturation and value have the same formula.
 * The idea is to make the background and
 * foreground colors be the brightest.
 * I don't want stuff in between to be the focus
 * of my attention, so it is muted.
 */
S="sqr(1.2 * (i-.5)) + .64",
V="sqr(1.2 * (i-.5)) + .64",

Vers=100